#ifndef TASK1_H
#define TASK1_H

#include <QObject>
#include <QRunnable>
class Task1 : public QObject,public QRunnable
{
    Q_OBJECT
public:
    explicit Task1(QObject *parent = nullptr);
    void run() override;

signals:
    void task_signal(int val);

public slots:
};

#endif // TASK1_H
